/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beans.user;

import java.io.Serializable;

/**
 *
 * @author Not Stephen
 */
public class UserBean implements Serializable{
    private String email, password, name;
    private int id;
    public String getGreeting(){
        return "Welcome: " + name + "!";
    }
    public UserBean(int id, String email, String password, String name) {
        this.email = email;
        this.password = password;
        this.name = name;
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    
}
